package com.yzy.fly.entity.role;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yzy.fly.kernel.model.FlyBasicModel;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@TableName("fly_table")
public class FlyTable extends FlyBasicModel<Integer, FlyTable> implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String descr;
    private Integer modelId;
    private Integer defModelId;
    private Integer systemId;
    private Date createTime;
    private Date updateTime;

    private String comment;
    private String engine;

    @TableField(exist = false)
    private List<FlyTableColumn> columns;

}
